﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace _06_01NortifyPropertyChanged通知更新
{
	public class RedefineProperty : MyPropertyChanged
	{
		private string name;
		public string Name
		{
			get { return name; }
			set
			{
				name = value;
				Changed();
			}
		}


		private int age;
		public int Age
		{
			get { return age; }
			set
			{
				age = value;
				Changed();
			}
		}

	}
}
